package com.cxb;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import static com.cxb.FeignTest.PATH;


@FeignClient(path = PATH,url = "localhost:9090",name = "feign")
public interface FeignTest {

    String PATH = "/cxb/feign";

    @GetMapping("/test")
    void test();

    @GetMapping("/demo2")
    void demo2();

    @GetMapping("/demo3")
    void demo_3();

}
